﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
using System.Collections.ObjectModel;


namespace CorpAbreu.Common.Models
{
    public class AbreuMenuItem : IMenuItem
    {
        public AbreuMenuItem(string name)
        {
            this.Name = name;
        }

        public AbreuMenuItem(string name, ICommand actionCommand)
        {
            this.Name = name;
            this.ActionCommand = actionCommand;
        }

        public ObservableCollection<IMenuItem> Items
        {
            get;
            set;
        }


        public string Name
        {
            get;
            set;
        }

        public ICommand ActionCommand
        {
            get
            {
                return _ActionCommand;

            }
            set {
                _ActionCommand = value;
            }
        }
        private ICommand _ActionCommand;



    }
}
